
package com.pp.admin.common.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pp.admin.common.client.beans.BaseDomain;
import com.pp.admin.common.client.beans.Domain;
import com.pp.admin.common.client.exceptions.InvalidDomain;

@RemoteServiceRelativePath( "domain" )
public interface DomainService extends RemoteService {
	
	public BaseDomain getDomainByDomainID( String domainID ) throws InvalidDomain;
	
	public List<Domain> getDomainsByUserID( String userID );
}
